/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mygame.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 *
 * @author xwgou
 */

@XStreamAlias("light")
public class GameLight {
    public static enum TYPE {POINT, DIRECTIONAL, AMBIENT};
    
    @XStreamAlias("type")
    private TYPE type;
    
    @XStreamAlias("color")
    private float[] color;
    
    @XStreamAlias("direction")
    private float radius;
    
    @XStreamAlias("position")
    private float[] position;
    
    @XStreamAlias("direction")
    private float[] direction;
    
    @XStreamAlias("distance")
    private float distance;

    public float[] getDirection() {
        return direction;
    }

    public void setDirection(float[] direction) {
        this.direction = direction;
    }

    public float[] getColor() {
        return color;
    }

    public void setColor(float[] color) {
        this.color = color;
    }

    public float[] getPosition() {
        return position;
    }

    public void setPosition(float[] position) {
        this.position = position;
    }

    public float getRadius() {
        return radius;
    }

    public void setRadius(float radius) {
        this.radius = radius;
    }

    public TYPE getType() {
        return type;
    }

    public void setType(TYPE type) {
        this.type = type;
    }

    public float getDistance() {
        return distance;
    }

    public void setDistance(float distance) {
        this.distance = distance;
    }
}
